home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / hypercrd / hc2_x / rsrcsrch.sit / Read Me - Resource Searcher next >
Text File  |  1991-02-28  |  3KB  |  37 lines

  1. Resource Searcher
  2.  
  3. This is a HyperCard 2.0 stack that I put together one afternoon. I needed to find an XCMD or XFCN to do a specific job. I knew I had one in one of the many stacks that I have. I quickly got tired of searching each file. So...
  4.  
  5. What you specify is:
  6. 1) The text string you wish to search for
  7. 2) Click on the file type field and select a file of the type you wish to search
  8. 3) Click on the resource type field and select XCMD or XFCN. If you edit this field's script you can add more to the list. 
  9. 4)  A list of the volumes (and optionally folders) that should be searched. This must be full path names with the volume name and ending  with a ":".
  10.  
  11. The programme will get the list of files and folders under each path specified. It will then  start checking each file. If it finds a file of the specified type, it then starts to check for resources of the specified type. If they exist it gets a list of these. It then checks this list to see if the string is within any of the names. Only the Names of resources are searched so their are a lot of resources that can't be searched since many programmers do not attach names to their resources. IT DOES NOT SEARCH THE RESOURCE ITSELF. The search is case insensitive. If a match is found then it is reported in the search results field. 
  12.  
  13. As the search proceeds messages indicating what is going on are put into the search message field. If this field hits 29,000 characters, the first half of the field is deleted and searching continues. No check is made of the size of the search results field.
  14.  
  15. If you have done a search and you start another, the programme will give you the option of appending the new search to the old or deleting the old before beginning the new.
  16.  
  17. You can also dump the current results to a file or clear them out. This also clears the message field.
  18.  
  19. When the stack closes it clears both the message and results fields and compacts the stack if necessary.
  20.  
  21. I do not intend to do much with this stack. You can use it all you want and change it all you want. If you find a bug or you make an improvement I would appreciate hearing about it. Look at the end of this for info on how to contact me.
  22.  
  23. I have used several XFCNs from several sources. They are:
  24. 1) FileType - from Support Tools Externals ⌐ Apple
  25. 2) FolderContents - from Support Tools Externals ⌐ Apple
  26. 3) PopUpMenu - from Developer Stack 1.2r ⌐ Steve Drazga
  27. 4) Resources - from Developer Stack 1.2r ⌐ Steve Drazga
  28. 5) Search - from Power Tools ⌐ Claris (I think, couldn't find a notice)
  29.  
  30. Richard Crispin
  31. Department of Psychology
  32. University of Waterloo
  33. Waterloo, Ontario 
  34. Canada      N2L 3G1
  35. (519)885-1211 ext 4781
  36. EMail: psych@watserv1.uwaterloo.ca
  37.            psych@watdcs.uwaterloo.ca